package com.yunfeng.master.app.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yunfeng.master.app.IUserService;

import com.yunfeng.master.infrastructure.dto.User982ProDTO;
import com.yunfeng.master.infrastructure.mapper.UserMapper;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
@RequiredArgsConstructor
public class UserServiceImpl extends ServiceImpl<UserMapper, User982ProDTO> implements IUserService {


    private final UserMapper userMapper;

    @Override
    public List<User982ProDTO> getAllUsers() {

        return userMapper.selectList(null);
    }
}
